import Layout from '@/layout/index.vue'

const systemRouter = [
  {
    path: '/system',
    component: Layout,
    redirect: '/system/dictionary',
    name: 'system',
    meta: {
      title: '系统管理',
      icon: 'Setting',
    },
    children: [
      {
        path: '/system/dictionary',
        component: () => import('@/views/system/dictionary/index.vue'),
        name: 'systemDictionary',
        meta: { title: '字典管理', icon: 'OfficeBuilding' },
      },
      {
        path: '/system/log',
        component: () => import('@/views/system/log/index.vue'),
        name: 'systemLog',
        meta: { title: '系统日志', icon: 'Coin' },
      },
    ],
  },
]

export default systemRouter
